﻿<%@ Page Title="" Language="C#" MasterPageFile="~/CusSatiSur/CusSatSurMaster.Master" AutoEventWireup="true" CodeBehind="InfomationCollection.aspx.cs" Inherits="QuaManSys.CusSatiSur.InfomationCollection" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
 <script language="javascript" type="text/javascript" src="../Calendar/WdatePicker.js"></script>
        <script language="javascript" type="text/javascript" src="../js/upload.js"></script>
        <link rel="Stylesheet" href="../Css/QuaInfoPro.css" type="text/Css" />
        <script type="text/javascript">

  
            function clickSubmit() {
                var prot = document.getElementById("<%=tbxVisitDate.ClientID %>").value;
                var expDate = document.getElementById("<%=tbxExpectTime.ClientID %>").value;
                var visit = document.getElementById("<%=tbxVisitedDate.ClientID %>").value;
                if (prot == null || prot == "") { alert("请输入访问日期"); return false; }
                if (expDate == null || expDate == "") { alert("请输入反馈日期"); return false; }
                if (visit == null || visit == "") { alert("请输入受访日期"); return false; }
                return confirm("提交后将不能修改，你确定要提交？");
            }
        </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphInner" runat="server">
    <div>
    <label>客户满意度调查表针对的客户类型</label>
    <asp:Label ID="lblClass" runat="server" Text="Label"></asp:Label>
</div>
<div>
    <table class="table_1">
        <tr><th colspan="4"><font size="5">客户满意度调查表</font> <label class="small">编号：</label><asp:Label ID="lblInfomationId" class="small" runat="server" Text=""></asp:Label></th></tr>
        <tr> 
            <td><label>顾客名称：</label></td><td><asp:TextBox ID="tbxCustomName" runat="server"></asp:TextBox></td>
            <td><label>部门：</label></td><td><asp:TextBox ID="tbxDepartment" runat="server"></asp:TextBox></td>
        </tr>
   
        <tr> 
            <td><label>访问日期：</label></td><td><asp:TextBox ID="tbxVisitDate" runat="server" cssclass="Wdate" onClick="WdatePicker()" ></asp:TextBox></td>
            <td> <label>受访形式：</label> </td><td>
            
                <asp:RadioButton ID="rbtInterview" Checked="true" GroupName="visitedForm" Text="走访" runat="server" />  <asp:RadioButton ID="rbtFax" Text="传真" GroupName="visitedForm" runat="server" />
            </td>
        </tr>
        
        <tr><td colspan="4"><label>该顾客满意度调查表希望您能于</label> <asp:TextBox ID="tbxExpectTime" runat="server" style="display:inline;width:20%;" cssclass="Wdate" onClick="WdatePicker()" ></asp:TextBox> <label>  前反馈至我司。</label></td></tr>
       
        <tr> 
            <td><label>联系人：</label></td><td><asp:TextBox ID="tbxContactMan" runat="server"></asp:TextBox></td>
            <td><label>联系方式：</label></td><td><asp:TextBox ID="tbxContactNum" runat="server"></asp:TextBox></td>
        </tr>
   
        <tr>
            <td colspan="4"><label>尊敬的顾客，您好，为提高我司的服务和产品质量，满足顾客需求，请您百忙之中拨冗填写该表，期盼您宝贵的意见和建议。在项目前的“□”内标识“√”选择</label>  </td>
        </tr>

        
    </table>

</div>
    
  <div>
    <table class="table_2">
            <tr><td><label>项目</label></td><td><label>满意度</label></td></tr>
            <tr>
                <td><label>产品交货期</label> </td>
                <td>
                    <asp:RadioButton ID="Jhenmanyi" Checked="true" GroupName="satJiaohuoqi" Text="很满意" runat="server" />
                    <asp:RadioButton ID="Jmanyi" GroupName="satJiaohuoqi" Text="满意" runat="server" />
                    <asp:RadioButton ID="Jyiban" GroupName="satJiaohuoqi" Text="一般" runat="server" />
                    <asp:RadioButton ID="Jbumanyi" GroupName="satJiaohuoqi" Text="不满意" runat="server" />
                </td>         
            </tr>

            <tr>
                <td><label>产品完整性</label> </td>
                <td>
                    <asp:RadioButton ID="Whenmanyi" Checked="true" GroupName="satWanzheng" Text="很满意" runat="server" />
                    <asp:RadioButton ID="Wmanyi" GroupName="satWanzheng" Text="满意" runat="server" />
                    <asp:RadioButton ID="Wyiban" GroupName="satWanzheng" Text="一般" runat="server" />
                    <asp:RadioButton ID="Wbumanyi" GroupName="satWanzheng" Text="不满意" runat="server" />
                </td>
            </tr>

            <tr>
                <td><label>配合船厂交货期计划调整</label> </td>
                <td>
                    <asp:RadioButton ID="Thenmanyi" Checked="true" GroupName="satJiaohuojihua" Text="很满意" runat="server" />
                    <asp:RadioButton ID="Tmanyi" GroupName="satJiaohuojihua" Text="满意" runat="server" />
                    <asp:RadioButton ID="Tyiban" GroupName="satJiaohuojihua" Text="一般" runat="server" />
                    <asp:RadioButton ID="Tbumanyi" GroupName="satJiaohuojihua" Text="不满意" runat="server" />
                </td>
            </tr>

            <tr>
                <td><label>我司电话、传真、E-mail等通讯畅通状况</label> </td>
                <td>
                    <asp:RadioButton ID="TXhenmanyi" Checked="true" GroupName="satTongxin" Text="很满意" runat="server" />
                    <asp:RadioButton ID="TXmanyi" GroupName="satTongxin" Text="满意" runat="server" />
                    <asp:RadioButton ID="TXyiban" GroupName="satTongxin" Text="一般" runat="server" />
                    <asp:RadioButton ID="TXbumanyi" GroupName="satTongxin" Text="不满意" runat="server" />
                </td>
            </tr>

            <tr>
                <td><label>顾客信息、意见、抱怨处理速度</label> </td>
                <td>
                    <asp:RadioButton ID="Chenmanyi" Checked="true" GroupName="satChulisudu" Text="很满意" runat="server" />
                    <asp:RadioButton ID="Cmanyi" GroupName="satChulisudu" Text="满意" runat="server" />
                    <asp:RadioButton ID="Cyiban" GroupName="satChulisudu" Text="一般" runat="server" />
                    <asp:RadioButton ID="Cbumanyi" GroupName="satChulisudu" Text="不满意" runat="server" />
                </td>
            </tr>

            <tr>
                <td><label>对处理结果的满意度</label> </td>
                <td>
                    <asp:RadioButton ID="JGhenmanyi" Checked="true" GroupName="satJieguomanyi" Text="很满意" runat="server" />
                    <asp:RadioButton ID="JGmanyi" GroupName="satJieguomanyi" Text="满意" runat="server" />
                    <asp:RadioButton ID="JGyiban" GroupName="satJieguomanyi" Text="一般" runat="server" />
                    <asp:RadioButton ID="JGbumanyi" GroupName="satJieguomanyi" Text="不满意" runat="server" />
                </td>
            </tr>

            <tr>
                <td colspan="2"><label>对上述项目不满意的说明或事例，以便我司有针对性的改进</label></td>
            </tr>
            <tr>
                <td colspan="2"><textarea id="txaInstruction" rows="3"  cols="70" style="margin:0;padding:0" runat="server"></textarea></td>
            </tr>

             <tr>
                <td colspan="2"><label>我司需要改进的地方</label></td>
            </tr>
            <tr>
                <td colspan="2"><textarea id="txaToBeImproved" rows="3" cols="70" style="margin:0;padding:0;border:none" runat="server"></textarea></td>
            </tr>

            <tr>
                <td colspan="2"><label>我司做得较好、需保持的方面</label></td>
            </tr>
            <tr>
                <td colspan="2"><textarea id="txaOurAdvantage" rows="3" cols="70" style="margin:0;padding:0;border:none" runat="server"></textarea></td>
            </tr>

            <tr>
                <td colspan="2"><label>对我司的发展，您的意见和建议</label></td>
            </tr>
            <tr>
                <td colspan="2"><textarea id="txaSuggestion" rows="3" cols="70" style="margin:0;padding:0;border:none" runat="server"></textarea></td>
            </tr>
        </table>
    <table border="0" cellspacing="0" cellpadding="0" width="100%">	
        <tr>
            <td><label>受访顾客签名（签章）:</label></td>
            <td><asp:TextBox ID="tbxVisitedCustmer" style="display:inline;" runat="server"></asp:TextBox></td>
            <td><label>日期：</label></td>
            <td><asp:TextBox ID="tbxVisitedDate" runat="server" style="display:inline;" cssclass="Wdate" onClick="WdatePicker()" ></asp:TextBox></td>
        </tr>
        <tr>
            <td colspan="2"> <label>受访顾客联系方式：</label></td>
            <td colspan="2"><asp:TextBox ID="tbxCustomTele" style="display:inline;" runat="server"></asp:TextBox></td>
        </tr>
    </table>
 </div>
    <div>
     <asp:Repeater ID="attatch" runat="server" OnItemCommand="OnItemCommand">
    <HeaderTemplate> <table class="table_1"></HeaderTemplate>
        <ItemTemplate>
        <tr>
            <td><asp:Label id="attatchName" CssClass="attach" ReadOnly="true" Text='<%#DataBinder.Eval(Container.DataItem, "Name") %>' runat="server"></asp:Label></td>
            <td><asp:Button id="d1" Text="删除" runat="server" CommandArgument='<%#DataBinder.Eval(Container.DataItem, "Name") %>' CommandName="delete" OnClientClick="return confirm('确定要删除？');"/></td>
            <td><asp:Button id="d2" Text="下载" runat="server" CommandArgument='<%#DataBinder.Eval(Container.DataItem, "Name") %>' CommandName="download"/></td>
        </tr>
           
        </ItemTemplate>
        <FooterTemplate>
            </table>
        </FooterTemplate>
    </asp:Repeater>
    </div>

        <table cellpadding="2" cellspacing="1" "noline" class="table_2">
            <tr>
                <td class="noline">                                     
                    <input id="Button_D1" onclick="return additem('TABLE_D')" type="button" style="width:120px"
                                                            value="继续添加附件" />           
                </td>
            </tr>
        </table>
      
        <input type="hidden" id="hidden" runat="server" value="1"/>
        <table width="100%" id="TABLE_D" class="table_2">

            <tr>
                <td>
                    
                    <input id="FileUploadD1" type="file" size="40" cssclass="a_search" runat="server" />
                 
                 </td> 
                  <td> 
                    <input onclick="return deleteitem(this);" type="button" value="删除" style="width:120px"/>
                                                    
                </td>
            </tr>
        </table>
        <div style="text-align:center; background-color:#ffffff; margin:20px;">
           <div style="text-align:center; background-color:#ffffff; margin:20px;">
            <asp:Button ID="rtnRollback" runat="server" Text="回退"  BackColor="#1a5ab8"  
                Font-Bold="False" Font-Size="Medium" Height="23px" Width="100px" 
                ForeColor="White" OnClientClick="return clickSubmit()" onclick="rtnRollback_Click"/>
            <asp:Button ID="submit" runat="server" Text="提交" OnClientClick="return clickSubmit()"
                 BackColor="#1a5ab8"  
                Font-Bold="False" Font-Size="Medium" Height="23px" Width="100px" 
                ForeColor="White" onclick="submit_Click"/>
        </div>

</asp:Content>
